package com.ruoyi.web.controller.exam.vo;

import com.ruoyi.exam.domain.ExamUnreal;
import lombok.Data;

@Data
public class ExamUnrealVO extends ExamUnreal {

    private String nickName;

    public ExamUnrealVO(ExamUnreal unreal) {
        setId(unreal.getId());
        setUid(unreal.getUid());
        setQuTotal(unreal.getQuTotal());
        setRights(unreal.getRights());
        setDones(unreal.getDones());
        setRightRate(unreal.getRightRate());
        setDoneRate(unreal.getDoneRate());
        setQuestionBankVersion(unreal.getQuestionBankVersion());
        setDoneQuestionIds(unreal.getDoneQuestionIds());
        setRightQuestionIds(unreal.getRightQuestionIds());
        setAnswerData(unreal.getAnswerData());
        setCreateTime(unreal.getCreateTime());
        setUpdateTime(unreal.getUpdateTime());
    }
}
